var express = require('express');
var router = express.Router();
var mysql = require('mysql');
const success = {
  "data": {
    "id": 500,
    "username": "admin",
    "mobile": "2113",
    "password": "123456",
    "email": "admin@qq.com",
    "token": "ADMIN"
  },
  "meta": {
    "msg": "登录成功",
    "status": 200
  }
}
router.post('/register', function (req, resp) {
  console.log(req.body)
  resp.send(success)
});


module.exports = router;